﻿HomendApp

.config(['$stateProvider', '$urlRouterProvider', function($stateProvider,   $urlRouterProvider) {
    $stateProvider

    //------------------------------
    // LOGIN
    //------------------------------
    .state('login', {
        url: '/login',
        templateUrl: 'login.html'
    })


    //------------------------------
    // HOME
    //------------------------------
    .state('app', {
        url: '/',
        templateUrl: 'app/views/home.tmpl.html'
    })

    //------------------------------
    // CICLO
    //------------------------------
    .state('ciclo', {
        url: '/ciclo',
      templateUrl: 'app/views/ciclo.html'
  })
    //------------------------------
    // SERVICIO
    //------------------------------
    .state('servicio', {
        url: '/servicio',
      templateUrl: 'app/views/servicio.html'
  })
    //------------------------------
    // inicio page http://plnkr.co/edit/u18KQc?p=preview
    //------------------------------
    .state('getting-started', {
        url: '/getting-started',
      templateUrl: 'app/views/getting-started.tmpl.html'
  });


    $urlRouterProvider.otherwise('/');


}]);


